import moment from 'moment'

export const parseTime = (time, format) => {
  return time ? moment(time).format(format) : ''
}
